package com.yzc.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yzc.pojo.Pve;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzc.pojo.Tour;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Yzc
* @description 针对表【t_pve】的数据库操作Mapper
* @createDate 2024-06-17 21:13:24
* @Entity com.yzc.pojo.Pve
*/
@Mapper
public interface PveMapper extends BaseMapper<Pve> {


    @Select("select pvename,tourcount,tournames FROM t_pve ")
    List<Pve> selectBypvenameOnaddress();

    @Select("select * from t_pve where pvename like concat('%',#{pvename},'%')")
    List<Pve> selectBypvename(Pve pvename);
}




